package com.lanou.musicproject.bean;

import android.graphics.Bitmap;

/**
 *
 * 本地音乐实体类
 *
 * */

public class MySong {
    private String title , path , artist , album ;
    private long duration ;
    private Bitmap albumCover ;
    private String lrclink;

    public MySong(){}

    public MySong(String title, String path, String artist, String album, long duration,String lrclink) {
        super();
        this.title = title;
        this.path = path;//路径
        this.artist = artist;
        this.album = album;
        this.duration = duration ;
        this.lrclink = lrclink;
    }
    public MySong(String title, String path, String artist,
                  String album, long duration, Bitmap albumCover,String lrclink) {
        super();
        this.title = title;
        this.path = path;
        this.artist = artist;
        this.album = album;
        this.duration = duration ;
        this.albumCover = albumCover ;
        this.lrclink = lrclink;
    }

    public String getLrclink() {
        return lrclink;
    }

    public void setLrclink(String lrclink) {
        this.lrclink = lrclink;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getAlbum() {
        return album;
    }

    public void setAlbum(String album) {
        this.album = album;
    }

    public long getDuration() {
        return duration;
    }
    public void setDuration(long duration) {
        this.duration = duration;
    }

    public Bitmap getAlbumCover() {
        return albumCover;
    }
    @Override
    public String toString() {
        return "MySong [title=" + title + ", path=" + path + ", artist="
                + artist + ", album=" + album + ", duration=" + duration
                + ", albumCover=" + albumCover + "]";
    }


}
